/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 陈妮娜 969682281@qq.com
 * @LastEditTime: 2025-01-15 16:24:11
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //规格型号
    formObj: [
        {
            input: true, //是input
            label: "试验编码", //字段
            type: "number",
            prop: "fTestno", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '试验编码不能为空'
            }], //验证
        },
        {
            select: true, //是input
            label: "样品类型", //字段
            prop: "fSampletype", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '样品类型不能为空'
            }], //验证
            options: [
                {
                    label: "水稳",
                    value: "SW"
                },
                {
                    label: "岩石",
                    value: "YS"
                },
                {
                    label: "净浆",
                    value: "JJ"
                },
                {
                    label: "砂浆",
                    value: "SJ"
                },
                {
                    label: "混凝土",
                    value: "TYH"
                },
                {
                    label: "钢筋",
                    value: "GJJ"
                },
                {
                    label: "水泥",
                    value: "SNJ"
                },
            ]
        },
        {
            select: true, //是input
            label: "试验名称", //字段
            prop: "fTestname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '试验名称不能为空'
            }], //验证
            options: []
        },
        {
            input: true, //是input
            label: "试验简称", //字段
            prop: "fTestshortname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '试验简称不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "对接代码", //字段
            prop: "fTestcode", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '对接代码不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "试验依据", //字段
            prop: "fTestbasis", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '试验依据不能为空'
            }], //验证
        },
        {
            checkbox: true, //是input
            label: " ", //字段
            prop: "fIsuses", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '是否启用'
            }], //验证
            options: [{
                label: "启用",
                value: true
            }]
        },
        {
            checkbox: true, //是input
            label: " ", //字段
            prop: "fIsqrcodes", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '是否二维码'
            }], //验证
            options: [

                {
                    label: "二维码",
                    value: true
                },
            ]
        },
        {
            checkbox: true, //是input
            label: " ", //字段
            prop: "fIsmeasureds", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '是否启用实测尺寸'
            }], //验证
            options: [
                {
                    label: "启用实测尺寸",
                    value: true
                }
            ]

        },

    ],
    tableObj: [{
        label: "一组试件数量",
        prop: "fPiecenum",
        type: 'input',
        input: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '一组试件数量不能为空'
        }], //验证
    },
    {
        label: "试件总数量",
        prop: "fAllpiecenum",
        input: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试件总数量不能为空'
        }], //验证
    },
    {
        label: "荷载衰减率是否显示",
        prop: "fIsattenuationloadrate",
        switch: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "荷载衰减率%",
        prop: "fAttenuationloadrate",

        input: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "衰减荷载是否显示",
        prop: 'fIsattenuationload',

        switch: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "衰减荷载（N）",
        prop: "fAttenuationload",

        input: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "起判条件",
        prop: "fJudgmenttype",

        radio: true, //是input
        width: 12, //参考el-col
        disableds: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
        options: [
            {
                label: "起判荷载（N）",
                value: "起判荷载（N）",
            },
            {
                label: "起判强度MPa",
                value: "起判强度MPa",
            }
        ]
    },
    {
        label: "起判值",
        prop: "fJudgmentnum",
        input: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "力值传感器",
        prop: "fForcesensors",
        selects: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
        options: [{
            label: "力值1",
            value: "力值1",
        },
        {
            label: "力值2",
            value: "力值2",
        }
        ]
    },
    {
        label: "力值单位",
        prop: "fForceunit",
        selects: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
        options: [{
            label: "kN",
            value: "kN",
        },
        {
            label: "N",
            value: "N",
        }
        ],
    },
    {
        label: "力值修约",
        prop: "fForcerepair",
        selects: true, //是input
        options: [{
            label: "0.001",
            value: "0.001",
        },
        {
            label: "0.01",
            value: "0.01",
        },
        {
            label: "0.1",
            value: "0.1",
        },
        {
            label: "1",
            value: "1",
        },
        {
            label: "10",
            value: "10",
        },
        {
            label: "100",
            value: "100",
        },
        {
            label: "1000",
            value: "1000",
        },
        ],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "强度修约",
        selects: true, //是input
        prop: "fIntensityrepair",
        options: [{
            label: "0.001",
            value: "0.001",
        },
        {
            label: "0.01",
            value: "0.01",
        },
        {
            label: "0.1",
            value: "0.1",
        },
        {
            label: "1",
            value: "1",
        },
        {
            label: "10",
            value: "10",
        },
        {
            label: "100",
            value: "100",
        },
        {
            label: "1000",
            value: "1000",
        },
        ],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "起画值(N)",
        prop: "fStartvalue",
        input: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "返车速度(mm/min)",
        input: true, //是input
        prop: "fReturnspeed",
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "实时数据单位调整",
        prop: "fUnitadjustments",
        selects: true, //是input
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
        options: [{
            label: "0.001",
            value: "0.001",
        },
        {
            label: "0.01",
            value: "0.01",
        },
        {
            label: "0.1",
            value: "0.1",
        },
        {
            label: "1",
            value: "1",
        },
        {
            label: "10",
            value: "10",
        },
        {
            label: "100",
            value: "100",
        },
        {
            label: "1000",
            value: "1000",
        },
        ],
    },
    {
        label: "判定方法",
        prop: "fDecide",
        selects: true, //是input
        options: [{
            label: "方法一",
            value: "方法一",
        },
        {
            label: "方法二",
            value: "方法二",
        },
        {
            label: "方法三",
            value: "方法三",
        },
        {
            label: "方法四",
            value: "方法四",
        },

        ],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },
    {
        label: "结束后动作",
        prop: "fEndaction",
        selects: true, //是input
        options: [{
            label: "结束后返车",
            value: "结束后返车",
        },
        {
            label: "结束后暂停",
            value: "结束后暂停",
        }
        ],
        width: 24, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '试验简称不能为空'
        }], //验证
    },

    ],
}